package com.winhxd.b2c.common.domain.order.condition;

import com.winhxd.b2c.common.constant.BusinessCode;
import com.winhxd.b2c.common.domain.common.PagedCondition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author hjw
 * @create 2019-01-07 15:53
 **/
@Data
public class OrderBaseConditions extends PagedCondition{
    @ApiModelProperty(value = "订单编号", required = true)
    @NotBlank(message = BusinessCode.ORDER_NO_EMPTY+"")
    private String orderNo;
    @ApiModelProperty(value = "订单状态 1 待付款 2 已取消 3待发货 4待收货5已完成 6已关闭")
    private Integer orderStatus;
    @ApiModelProperty(value = "用户下线id")
    private Long customerSubordinateId;
}
